package lab02.test05;

/**
 * Created by ASUS on 2017/10/12.
 */
public class Cubic {

    //属性：立方体的长、宽和高

    float cubicLong;
    float cubicWide;
    float cubicHigh;

    //行为：对变量进行初始化，计算立方体体积，求给定尺寸的立方体的体积

    void initialize(){}

    float volums(){

        return cubicLong * cubicWide * cubicHigh;
    }

    float revolums(){

        return cubicLong * cubicWide * cubicHigh;
    }

}
